﻿using QuanLyBanHang.DAL;
using QuanLyBanHang.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace QuanLyBanHang.BLL
{
   public class KhachHangBLL
    {
       //public static KhachHangDAL khDal = new KhachHangDAL();
        public static int ThemKhachHang(KhachHangDTO kh)
        {
            return KhachHangDAL.ThemKhachHang(kh);
        }
        public static int XoaKhachHang(KhachHangDTO kh)
        {
            return KhachHangDAL.XoaKhachHang(kh);
        }
        public static int SuaKhachHang(KhachHangDTO kh)
        {
            return KhachHangDAL.SuaKhachHang(kh);
        }
        public static DataTable LayTatCaThongTinKhachHang(KhachHangDTO kh)
        {
            return KhachHangDAL.LayTatCaThongTinKhachHang(kh);
        }
        public static DataTable LayTatCaThongTinKhachHangTheoDieuKien(string dieukien)
        {
            return KhachHangDAL.HienThiThongTinDieuKien(dieukien);
        }
       //lay thong tin dien thoai theo khach hang
      
    }
}
